package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class FeedFriendsListBean implements Serializable ,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7890203331235817821L;
	private ArrayList<FeedFriendsBean>  list;
	private int next_cursor ;
	private int previous_cursor ;
	public int getNext_cursor() {
		return next_cursor;
	}
	public void setNext_cursor(int next_cursor) {
		this.next_cursor = next_cursor;
	}
	public int getPrevious_cursor() {
		return previous_cursor;
	}
	public void setPrevious_cursor(int previous_cursor) {
		this.previous_cursor = previous_cursor;
	}
	public ArrayList<FeedFriendsBean> getList() {
		return list;
	}
	public void setList(ArrayList<FeedFriendsBean> list) {
		this.list = list;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, FeedFriendsListBean.class);
		}
		return null;
	}

}
